import request from '@/utils/request'

/**
 * 获取用户账户余额
 * @param {*} params 
 */
export function getMineBalance() {
  return request({
    url: '/sr/balance/mineBalance',
    method: 'get'
  })
}

/**
 * 余额充值
 * @param {*} data 
 */
export function createBalanceOrder(data) {
    return request({
        url: '/sr/balance/createOrder',
        method: 'post',
        data: data
    })
}